-- GENERATED SPELL FOR [Highperch Patriarch] --


function spell0_4110(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4110', 30000, 1)
end

function Sorts_4110(pUnit, Event)
local choix_sorts_4110 = math.random(0, 0)
if choix_sorts_4110 == 0 then
pUnit:RegisterEvent('spell0_4110', 1, 1)
end
end

function mob4110_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4110', math.random(1500, 3000), 1)
end

function mob4110_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4110_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4110_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4110, 1, 'mob4110_Action')
RegisterUnitEvent(4110, 2, 'mob4110_Leave')
RegisterUnitEvent(4110, 3, 'mob4110_Kill')
RegisterUnitEvent(4110, 4, 'mob4110_Die')
